#ifndef _DETECTFINGER_H_
#define _DETECTFINGER_H_

#include "common.h"
#include "linkedList.h"

typedef struct argumentDataSet{
	IplImage* image;
	struct queue* unitQueue;
	struct areaCoordinate interestedArea;
	struct coordinate point;
	float rangeRate;
}argumentDataSet_t;

/* finger detectioning function */
void* detectFinger(void* argument);
/* 
set argument to struct argumentDataSet_t* argumentsData
it contain image, queue, 
*/
void setArguments(	argumentDataSet_t* argumentsData,
					IplImage* image,
					queue_t* unitQueue,
					areaCoordinate_t interestedArea,
					coordinate_t point,
					float rangeRate );
#endif //_DETECTFINGER_H_